import request from '@/utils/request'

export function adminList(data) {
  return request({
    url: '/adminlist',
    method: 'post',
    params: data
  })
}

export function adminCreate(data) {
  return request({
    url: '/adminadd',
    method: 'post',
    params: data
  })
}

export function adminUpdate(data) {
  return request({
    url: '/adminupdate',
    method: 'post',
    params: data
  })
}

export function adminDelete(data) {
  return request({
    url: '/admindelete',
    method: 'post',
    params: data
  })
}
export function adminDetail(data) {
  return request({
    url: '/admindetail',
    method: 'post',
    params: data
  })
}
